package com.fiidee.blog.entity;

public class Blog {
    private Integer id;

    private Integer userid;

    private Integer catid;

    private String title;

    private String kword;

    private String bcontent;

    private String tags;

    private Integer hits;

    private Boolean isrec;

    private Integer addTime;

    private Integer updateTime;

    private String thumb;

    private String author;

    private String source;

    private Integer praiseNum;

    private Integer original;

    private Boolean trash;

    private Boolean tuonews;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getCatid() {
        return catid;
    }

    public void setCatid(Integer catid) {
        this.catid = catid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getKword() {
        return kword;
    }

    public void setKword(String kword) {
        this.kword = kword == null ? null : kword.trim();
    }

    public String getBcontent() {
        return bcontent;
    }

    public void setBcontent(String bcontent) {
        this.bcontent = bcontent == null ? null : bcontent.trim();
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Boolean getIsrec() {
        return isrec;
    }

    public void setIsrec(Boolean isrec) {
        this.isrec = isrec;
    }

    public Integer getAddTime() {
        return addTime;
    }

    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb == null ? null : thumb.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Integer getPraiseNum() {
        return praiseNum;
    }

    public void setPraiseNum(Integer praiseNum) {
        this.praiseNum = praiseNum;
    }

    public Integer getOriginal() {
        return original;
    }

    public void setOriginal(Integer original) {
        this.original = original;
    }

    public Boolean getTrash() {
        return trash;
    }

    public void setTrash(Boolean trash) {
        this.trash = trash;
    }

    public Boolean getTuonews() {
        return tuonews;
    }

    public void setTuonews(Boolean tuonews) {
        this.tuonews = tuonews;
    }

    @Override
    public final String toString() {
        return "Blog{" +
                "id=" + id +
                ", userid=" + userid +
                ", catid=" + catid +
                ", title='" + title + '\'' +
                ", kword='" + kword + '\'' +
                ", bcontent='" + bcontent + '\'' +
                ", tags='" + tags + '\'' +
                ", hits=" + hits +
                ", isrec=" + isrec +
                ", addTime=" + addTime +
                ", updateTime=" + updateTime +
                ", thumb='" + thumb + '\'' +
                ", author='" + author + '\'' +
                ", source='" + source + '\'' +
                ", praiseNum=" + praiseNum +
                ", original=" + original +
                ", trash=" + trash +
                ", tuonews=" + tuonews +
                '}';
    }
}